package hvz.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class LoginScreenActivity extends Activity {

	private Button loginBtn2;
	private Button cancelBtn2;
	
	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.login_screen_activity);
	        
	        loginBtn2 = (Button)findViewById(R.id.loginButton1);
	        cancelBtn2 = (Button)findViewById(R.id.cancelButton);
	        
	        
	        loginBtn2.setOnClickListener(new OnClickListener(){
				@Override
				public void onClick(View v) {
					Intent nextScreen = new Intent(getApplicationContext(),
							ZombieActivity.class);
					startActivity(nextScreen);
					finish();
					
				}
			});
	        
	        cancelBtn2.setOnClickListener(new OnClickListener(){
				@Override
				public void onClick(View v) {
					finish();
					
				}
			});
	 }
}
